package com.guodu.dao;

import java.math.BigDecimal;
import java.util.List;

import com.guodu.entity.MaterialRuku;
import com.guodu.entity.MaterialrukuStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialRukuQueryVo;

public interface MaterialRukuDao {
	List<MaterialRuku> findByVo(MaterialRukuQueryVo materialRukuQueryVo,Units units,int curPage , int pageSize);
	List<MaterialRuku> findAllByVo(MaterialRukuQueryVo materialRukuQueryVo,Units units);
	BigDecimal findAllMoney(MaterialRukuQueryVo materialRukuQueryVo, Units units);
	int findSizeByVo(MaterialRukuQueryVo materialRukuQueryVo,Units units);
	MaterialRuku findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialRuku entity);
	void examine(String ids,Long status);
	void update(MaterialRuku entity);
	void changeStatus(List<MaterialrukuStatus> entities);
	List<MaterialrukuStatus> findStatus(String id);
	boolean examinAll(MaterialRukuQueryVo materialRukuQueryVo,Units units);
	boolean huituiAll(MaterialRukuQueryVo materialRukuQueryVo,Units units);
	boolean shanchuAll(MaterialRukuQueryVo materialRukuQueryVo,Units units);
	boolean allBack(MaterialRukuQueryVo materialRukuQueryVo,Units units);
}
